import request from "../request"

// 登录请求
export const LoginAPI = (params: ILogin): Promise<IResponse<Idata>> => request.post("/admin/login", params)

// 获取用户信息
export const userIofoAPI = (): Promise<IResponse<IuserInfo>> => request.get("/admin/info")
